package com.zen.lon.open.remote.support;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author ZonLen since on 2021/7/6 下午11:15
 */
public class RemoteClientApplicationContextInitializer implements
    ApplicationContextInitializer<ConfigurableApplicationContext> {



  /**
   * 初始化spring容器上下文
   */
  @Override
  public void initialize(ConfigurableApplicationContext applicationContext) {
    ApplicationContextProvider.initRemoteClientContext(applicationContext);
  }

}
